Skip to content

Conversation

romseygeek
Copy link
Contributor

We don't use doc-by-doc iteration in FieldData, so this simplifies several
implementations and also doesn't make unimplemented APIs available.

Adds a new SortedNumericLongValues class, analogous to
SortedNumericDoubleValues, which offers a multi-valued version of
LongValues.

…Values

We don't need doc-by-doc iteration in FieldData, so this simplifies several
implementations and also doesn't make unimplemented APIs available.
…Values

We don't need doc-by-doc iteration in FieldData, so this simplifies several
implementations and also doesn't make unimplemented APIs available.
@romseygeek romseygeek self-assigned this Oct 13, 2025
@romseygeek romseygeek added >non-issue :Analytics/Aggregations Aggregations :StorageEngine/ES|QL Timeseries / metrics / logsdb capabilities in ES|QL v9.3.0 labels Oct 13, 2025
@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:StorageEngine labels Oct 13, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@romseygeek
Copy link
Contributor Author

This is quite a big PR, but the vast majority of it is mechanical replacement of NumericDocValues with LongValues, and SortedNumericDocValues with SortedNumericLongValues.

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

One nit, maybe seal all concrete subclasses of LongValues and SortingNumericLongValues?

@romseygeek romseygeek added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Oct 13, 2025
@elasticsearchmachine elasticsearchmachine merged commit 64fcdcc into elastic:main Oct 13, 2025
34 checks passed
@romseygeek romseygeek deleted the fielddata/sorted-numeric-long-values branch October 13, 2025 13:22
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 13, 2025
)

We don't use doc-by-doc iteration in FieldData, so this simplifies
several implementations and also doesn't make unimplemented APIs
available.

Adds a new SortedNumericLongValues class, analogous to 
SortedNumericDoubleValues, which offers a multi-valued version of 
LongValues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :StorageEngine/ES|QL Timeseries / metrics / logsdb capabilities in ES|QL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:StorageEngine v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants